package cn.com.tianpeidong.restaurantadmin.project.admin.pos.mapper;

import cn.com.tianpeidong.restaurantadmin.project.admin.pos.entity.Sale;
import cn.com.tianpeidong.restaurantadmin.project.admin.pos.entity.SaleLineItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author tianpeidong
 * @version 创建时间: 19-6-2 下午12:04
 */
@Mapper
public interface PosMapper {

    int makeSale(Sale sale);

    int makeSaleItem(List<SaleLineItem> saleLineItemList);

    Sale getById(@Param("id") Long id);
}
